package com.pjedu.ssmdemo.mapper;


import com.pjedu.ssmdemo.entity.User;

import java.util.List;

public interface UserDao {
    public List<User> findAll();

    public User findById(Integer id);

    public int updateUser(User user);

    public User login(User user);
}
